package com.gitee.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.gitee.pojo.Comment;
import com.gitee.vo.CommentVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface CommentMapper extends BaseMapper<Comment> {

    IPage<CommentVo> selectCommentVos(IPage<CommentVo> page,
                                     @Param("foodTitle") String keywords);
}
